<template>
  <div class="p-6 max-w-sm mx-auto bg-white rounded-xl shadow-lg flex items-center space-x-4">
    <div>
      <div class="text-xl font-medium text-black">{{ title }}</div>
      <p class="text-gray-500">{{ description }}</p>
    </div>
  </div>
</template>

<script setup>
defineProps({
  title: {
    type: String,
    default: 'Hello World'
  },
  description: {
    type: String,
    default: '这是来自组件的示例文本'
  }
})
</script>